/**
 * 
 *//*
package com.cipe.cmrs.controllers;

import javax.servlet.http.HttpServletRequest;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Controller;
import org.springframework.ui.Model;
import org.springframework.validation.BindingResult;
import org.springframework.web.bind.annotation.ModelAttribute;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestParam;

import com.cipe.cmrs.model.Paymentrequesttype;
import com.cipe.cmrs.service.PaymentrequesttypeService;

*//**
 * @author Incepio
 *
 *//*
@Controller
public class PaymentrequesttypeController extends BaseController {

	*//**
	 * 
	 *//*
	private static final long			serialVersionUID	= -3823562098119817733L;
	@Autowired
	private PaymentrequesttypeService	paymentrequesttypeService;

	@RequestMapping("/secure/savePaymentrequesttype.do")
	public String SavePaymentrequesttype(@ModelAttribute("paymentrequesttype") Paymentrequesttype paymentrequesttype, BindingResult result, Model model, HttpServletRequest request) {
		if (paymentrequesttypeService.savePaymentrequesttype(paymentrequesttype, getUserId(request)) == null) {
			result.reject("editPaymentrequesttype.message.error");
		} else {
			result.rejectValue("id", "editPaymentrequesttype.message.success");
		}
		model.addAttribute("paymentrequesttype", paymentrequesttype);
		return "editPaymentrequesttype";
	}

	@RequestMapping("/secure/showAddPaymentrequesttype.do")
	public String showAddPaymentrequesttype(Model model) {
		model.addAttribute("paymentrequesttype", new Paymentrequesttype());
		return "editPaymentrequesttype";
	}

	@RequestMapping("/secure/showEditPaymentrequesttype.do")
	public String showEditPaymentrequesttype(@RequestParam Integer id, Model model) {
		model.addAttribute("paymentrequesttype", paymentrequesttypeService.findById(id));
		return "editPaymentrequesttype";
	}

	@RequestMapping("/secure/showPaymentrequesttypeList.do")
	public String showPaymentrequesttypeList(Model model) {
		model.addAttribute("paymentrequesttypes", paymentrequesttypeService.findAll());
		return "paymentrequesttypeList";
	}
}
*/